package com.cxyd.service;

import com.cxyd.modules.job.task.agvTask.HKTask;
import com.cxyd.modules.job.task.tcpTask.PostTcpTask;
import com.cxyd.modules.job.task.wmsTask.AnalyzeTask;
import com.cxyd.modules.wcs.service.AgvStateService;
import com.cxyd.modules.wcs.service.PostTcpService;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

import javax.annotation.Resource;

@RunWith(SpringRunner.class)
@SpringBootTest
public class ReceiveTaskTestService {
    @Resource
    private AnalyzeTask analyzeTask;
    @Resource
    private HKTask hkTask;
    @Resource
    private PostTcpTask postTcpTask;
    @Resource
    private PostTcpService postTcpService;
    @Resource
    private AgvStateService agvStateService;

    @Test
    public void scanAgvTrkTest() {
        analyzeTask.scanTask();
    }

    @Test
    public void postAgvTrkTest() {
//        hkTask.scanTask();
//        hkTask.postTask();
//        postWmsTask.scanPost();

        //postTcpTask.scanPost();
    }
}
